package com.sixth.bean.bo;

import com.sixth.bean.common.BasePageInfo;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.Max;
import java.util.Date;

/**
 * @Author lixinhang
 * @Time 2022/9/7 17:15
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderListBO {
    BasePageInfo basePageInfo;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date[] timeArray;

    Short[] orderStatusArray;

    @Max(10000000)
    Integer orderId;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date start;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    Date end;

    @Max(10000000)
    Integer userId;
    String orderSn;
}
